import request from '@/utils/request'

// 获取oss上传图片的参数
export function getInfoFromOss(isPublic = true, isHttps = true) {
  return request({
    url: '/jbl-user-center/api/merchant/v1/common/oss/policy',
    method: 'get',
    params: {
      isPublic: isPublic,
      isHttps: isHttps
    }
  })
}
